/*******************************************************************************
 * Package: com.hngtrust.iir.report.controller.dto
 * Type:    SavePrivateReportReqVO
 * Date:    2021/9/14 13:32
 *
 * Copyright (c) 2021 HUANENG GUICHENG TRUST CORP.,LTD All Rights Reserved.
 *
 * You may not use this file except in compliance with the License.
 *******************************************************************************/
package com.hngtrust.iir.material.controller.dto;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.NotBlank;
import javax.validation.constraints.NotNull;
import java.util.List;

/**
 * 修改内部资料响应
 *
 * @author Chaidd
 * @date 2021/11/09 4:45 下午
 */
@ApiModel(description = "修改内部资料响应")
@Data
public class UpdatePrivateMaterialResqVO {

    @ApiModelProperty(value = "文件大小")
    private Integer size;

    /**
     * id
     */
    private Long id;
    
    /**
     * 资料标题
     */
    @NotBlank
    @ApiModelProperty(value = "资料标题")
    private String title;
    
    /**
     * 资料类型
     */
    @NotNull
    @ApiModelProperty(value = "资料类型")
    private Integer materialType;
    
    /**
     * 行业代码
     */
    @NotBlank(message = "行业代码为空")
    @ApiModelProperty(value = "行业代码")
    private String industryCode;
    
    /**
     * 行业名称
     */
    @NotBlank(message = "行业名称为空")
    @ApiModelProperty(value = "行业名称")
    private String industryName;

    /**
     * 发布部门id
     */
    @ApiModelProperty(value = "发布部门id")
    private Long publishDeptId;

    /**
     * 发布部门父级id
     */
    @ApiModelProperty(value = "发布部门父级id")
    private Long publishParentDeptId;
    
    /**
     * 发布部门名
     */
    @NotBlank(message = "发布部门名为空")
    @ApiModelProperty(value = "发布部门名")
    private String publishDeptName;

    /**
     * 发布人id
     */
    @ApiModelProperty(value = "发布人id")
    private Long publishUserId;

    /**
     * 发布人名
     */
    @ApiModelProperty(value = "发布人名")
    private String publishUserName;
    
    /**
     * 摘要
     */
    @NotBlank(message = "摘要为空")
    @ApiModelProperty(value = "摘要")
    private String summary;
    
    /**
     * 发布时间
     */
    @NotNull(message = "发布时间为空")
    @ApiModelProperty(value = "发布时间")
    private Long publishTime;
    
    /**
     * 原始文件名称
     */
    @NotBlank(message = "文件名称为空")
    @ApiModelProperty(value = "原始文件名称")
    private String fileName;
    
    /**
     * 原始文件路径
     */
    @NotBlank(message = "文件路径为空")
    @ApiModelProperty(value = "原始文件路径")
    private String filePath;
    
    /**
     * 资料页数
     */
    @NotNull(message = "资料页数为空")
    @ApiModelProperty(value = "资料页数")
    private Integer pages;
    
    /**
     * 权限标识
     */
    @NotNull(message = "权限为空")
    @ApiModelProperty(value = "权限标识 1公开 2不公开")
    private Integer rightTag;
    
    /**
     * 允许下载
     */
    @NotNull(message = "下载为空")
    @ApiModelProperty(value = "允许下载 0不允许 1允许")
    private Integer dwonTag;
    
   
    @ApiModelProperty(value = "权限列表")
    private List<Long> userIds;
   
    
    
   
    
}
